package com.xfan.core.web;

import java.util.List;
import java.util.Map;

@SuppressWarnings("unchecked")
public abstract class MapDao extends BaseDao{
	public List getList(Object param){
		return this.queryForList("getList", param);
	}
	public  Map getById(Object param){
		return (Map)this.queryForObject("getById", param);
	}
	public  Long insert(Object param){
		return (Long)this.insert("insert",param);
	}
	public  void update(Object param){
		this.update("update", param);
	}
	public  void remove(Object param){
		this.update("delete",param);
	}
}
